package com.wkbb.basic.utils;

import lombok.Data;

/**
 * @author Alger Yang
 * @date 2019/12/3 000311:56
 */
@Data
public class WebankFaceResult {
    /**
     * code : 0
     * msg : 请求成功
     * bizSeqNo : 1912042AA03490300115395321301137
     * result : {"code":"0","msg":"识别成功","personId":"P-fa890ab75c78445fbdc229a58bfc22f7","score":100,"recoStartTime":"2019-12-04 15:39:53.465","recoEndTime":"2019-12-04 15:39:53.756","userId":"1","orderNo":"32d77a0d-b70c-41b1-91f8-fb87d31b997c","webankAppId":"IOTSBgU6"}
     */

    private String code;
    private String msg;
    private String bizSeqNo;
    private ResultBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getBizSeqNo() {
        return bizSeqNo;
    }

    public void setBizSeqNo(String bizSeqNo) {
        this.bizSeqNo = bizSeqNo;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * code : 0
         * msg : 识别成功
         * personId : P-fa890ab75c78445fbdc229a58bfc22f7
         * score : 100.0
         * recoStartTime : 2019-12-04 15:39:53.465
         * recoEndTime : 2019-12-04 15:39:53.756
         * userId : 1
         * orderNo : 32d77a0d-b70c-41b1-91f8-fb87d31b997c
         * webankAppId : IOTSBgU6
         */

        private String code;
        private String msg;
        private String personId;
        private double score;
        private String recoStartTime;
        private String recoEndTime;
        private String userId;
        private String orderNo;
        private String webankAppId;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getPersonId() {
            return personId;
        }

        public void setPersonId(String personId) {
            this.personId = personId;
        }

        public double getScore() {
            return score;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public String getRecoStartTime() {
            return recoStartTime;
        }

        public void setRecoStartTime(String recoStartTime) {
            this.recoStartTime = recoStartTime;
        }

        public String getRecoEndTime() {
            return recoEndTime;
        }

        public void setRecoEndTime(String recoEndTime) {
            this.recoEndTime = recoEndTime;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getWebankAppId() {
            return webankAppId;
        }

        public void setWebankAppId(String webankAppId) {
            this.webankAppId = webankAppId;
        }
    }

}
